﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace WCFPointOfSaleService.Entities
{
    [DataContract]
    public class Users
    {
        [DataMember]
        public string Action { get; set; }

        [DataMember]
        public string Username { get; set; }
        
        [DataMember]
        public int CompanyId { get; set; }
        
        [DataMember]
        public string TransactionDate;
        
        [DataMember]
        public string Tick { get; set; }

        [DataMember]
        public string SyncTransaction { get; set; }

        [DataMember]
        public string TypeUserTransaction { get; set; }

        [DataMember]
        public int CompanyIdTransaction { get; set; }

        [DataMember]
        public string UsernameTransaction { get; set; }

        [DataMember]
        public string UuidTransaction { get; set; }
        
        [DataMember]
        public string Password { get; set; }

        [DataMember]
        public string Identification { get; set; }

        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public string FirstName { get; set; }

        [DataMember]
        public string LastName { get; set; }

        [DataMember]
        public int CountryId { get; set; }

        [DataMember]
        public int StateId { get; set; }
        
        [DataMember]
        public string Mobile { get; set; }

        [DataMember]
        public string Phone { get; set; }

        [DataMember]
        public bool IsActive { get; set; }
        
        [DataMember]
        public string Email { get; set; }

        [DataMember]
        public bool Exists { get; set; }

        [DataMember]
        public bool IsIdentified { get; set; }

        [DataMember]
        public bool IsSync { get; set; }

        [DataMember]
        public int Total { get; set; }

        [DataMember]
        public string Message { get; set; }
    }
}